/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ro.tni.actionbeans;

import net.sourceforge.stripes.action.DefaultHandler;
import net.sourceforge.stripes.action.ForwardResolution;
import net.sourceforge.stripes.action.Resolution;

/**
 *
 * @author radus
 */
public class LoginActionBean extends BaseActionBean {
    
    private String sessionId;

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }
    
    @Override
    @DefaultHandler
    public Resolution defaultAction() {
        sessionId = getContext().getRequest().getSession().getId();
        return new ForwardResolution("/dashboard.jsp");
    }
    
    
}
